proposal: Add documents for library use#634
Conversation
|
While I appreciate the sentiment here, this is first and foremost a bindings library where it is a non-goal to create and maintain documentation for how to work with Clang. Clang provides its own documentation (https://clang.llvm.org/docs/index.html) and that will always be the source of truth. With that in mind, working with this library is explicitly If a user doesn't have the capabilities to look at https://clang.llvm.org/docs/LibClang.html and translate the relatively simple code here from C++ to C#, then they are likely on a path to failure in attempting to use this library and would be met with the same challenges and failing points in any language exposing similar bindings. Doing the work to translate it for them isn't doing any favors and will not end up helping in such a scenario. With that being said, a small document covering some of the non-obvious differences between ClangSharp and libClang would be welcome. For example, covering that methods such as Likewise, documentation for the |
related: #561
Hello.
I tried to use ClangSharp as a library, but found the documentation lacking, which made learning quite challenging.
Looking at the discussions, it seems others have faced the same issue.
Therefore, I would like to propose adding an introduction for library usage.
I've written some content myself and will submit it as a PR.
While a Wiki would normally be more suitable for this purpose, I've added a
docs/directory to make it submittable as a PR.I would appreciate your feedback and suggestions.